<?php
class QuickPublishForm extends MForm {

    public function __construct() {
        parent::__construct(__route('ml-admin', array('module'=>'ml-blog/post/quickPublish')));
        $this->setMethod(self::METHOD_POST);
        $this->add(self::ELEMENT_TEXT, 'postTitle')
                ->setLabel(__t('mandrill.blog.admin.post.form.title'));
        $this->add(self::ELEMENT_TEXTAREA, 'postContent')
                ->setLabel(__t('mandrill.blog.admin.post.form.content'));
        $this->add(self::ELEMENT_SUBMIT, 'postSubmit');
    }
    
}
?>
